Optimal. Leaf size=129 \[ -\frac {b c x^{-1-2 p} \left (d+e x^2\right )^p \left (1+\frac {e x^2}{d}\right )^{-p} F_1\left (\frac {1}{2} (-1-2 p);1,-1-p;\frac {1}{2} (1-2 p);-c^2 x^2,-\frac {e x^2}{d}\right )}{2 \left (1+3 p+2 p^2\right )}-\frac {x^{-2 (1+p)} \left (d+e x^2\right )^{1+p} (a+b \text {ArcTan}(c x))}{2 d (1+p)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 129, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 5, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {270, 5096, 12,
525, 524} \begin {gather*} -\frac {x^{-2 (p+1)} \left (d+e x^2\right )^{p+1} (a+b \text {ArcTan}(c x))}{2 d (p+1)}-\frac {b c x^{-2 p-1} \left (d+e x^2\right )^p \left (\frac {e x^2}{d}+1\right )^{-p} F_1\left (\frac {1}{2} (-2 p-1);1,-p-1;\frac {1}{2} (1-2 p);-c^2 x^2,-\frac {e x^2}{d}\right )}{2 \left (2 p^2+3 p+1\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 270
Rule 524
Rule 525
Rule 5096
Rubi steps
\begin {align*} \int x^{-3-2 p} \left (d+e x^2\right )^p \left (a+b \tan ^{-1}(c x)\right ) \, dx &=-\frac {x^{-2 (1+p)} \left (d+e x^2\right )^{1+p} \left (a+b \tan ^{-1}(c x)\right )}{2 d (1+p)}-(b c) \int -\frac {x^{-2 (1+p)} \left (d+e x^2\right )^{1+p}}{2 d (1+p) \left (1+c^2 x^2\right )} \, dx\\ &=-\frac {x^{-2 (1+p)} \left (d+e x^2\right )^{1+p} \left (a+b \tan ^{-1}(c x)\right )}{2 d (1+p)}+\frac {(b c) \int \frac {x^{-2 (1+p)} \left (d+e x^2\right )^{1+p}}{1+c^2 x^2} \, dx}{2 d (1+p)}\\ &=-\frac {x^{-2 (1+p)} \left (d+e x^2\right )^{1+p} \left (a+b \tan ^{-1}(c x)\right )}{2 d (1+p)}+\frac {\left (b c \left (d+e x^2\right )^p \left (1+\frac {e x^2}{d}\right )^{-p}\right ) \int \frac {x^{-2 (1+p)} \left (1+\frac {e x^2}{d}\right )^{1+p}}{1+c^2 x^2} \, dx}{2 (1+p)}\\ &=-\frac {b c x^{-1-2 p} \left (d+e x^2\right )^p \left (1+\frac {e x^2}{d}\right )^{-p} F_1\left (\frac {1}{2} (-1-2 p);1,-1-p;\frac {1}{2} (1-2 p);-c^2 x^2,-\frac {e x^2}{d}\right )}{2 \left (1+3 p+2 p^2\right )}-\frac {x^{-2 (1+p)} \left (d+e x^2\right )^{1+p} \left (a+b \tan ^{-1}(c x)\right )}{2 d (1+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.45, size = 166, normalized size = 1.29 \begin {gather*} -\frac {x^{-2 (1+p)} \left (d+e x^2\right )^p \left (1+\frac {e x^2}{d}\right )^{-p} \left (b \left (c^2 d-e\right ) x F_1\left (-\frac {1}{2}-p;-p,1;\frac {1}{2}-p;-\frac {e x^2}{d},-c^2 x^2\right )+c (1+2 p) \left (d+e x^2\right ) \left (1+\frac {e x^2}{d}\right )^p (a+b \text {ArcTan}(c x))+b e x \, _2F_1\left (-\frac {1}{2}-p,-p;\frac {1}{2}-p;-\frac {e x^2}{d}\right )\right )}{2 c d (1+p) (1+2 p)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 1.28, size = 0, normalized size = 0.00 \[\int x^{-3-2 p} \left (e \,x^{2}+d \right )^{p} \left (a +b \arctan \left (c x \right )\right )\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (a+b\,\mathrm {atan}\left (c\,x\right )\right )\,{\left (e\,x^2+d\right )}^p}{x^{2\,p+3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________